import { createRouter, createWebHistory } from 'vue-router'
import AIRolePlay from '../view/AIRolePlay.vue'
import createRole from '../view/createRole.vue'

const routes = [
  { path: '/', component: AIRolePlay },
  { path: '/createRole', component: createRole },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
